package com.ruoyi.system.mapper;

import java.util.List;
import com.ruoyi.system.domain.CustomerAppointments;
import org.apache.ibatis.annotations.Mapper;

/**
 * 客户预约信息Mapper接口
 * 
 * @author LK
 * @date 2024-06-22
 */
@Mapper
public interface CustomerAppointmentsMapper 
{
    /**
     * 查询客户预约信息
     * 
     * @param customerId 客户预约信息主键
     * @return 客户预约信息
     */
    public CustomerAppointments selectCustomerAppointmentsByCustomerId(String customerId);

    /**
     * 查询客户预约信息列表
     * 
     * @param customerAppointments 客户预约信息
     * @return 客户预约信息集合
     */
    public List<CustomerAppointments> selectCustomerAppointmentsList(CustomerAppointments customerAppointments);

    /**
     * 新增客户预约信息
     * 
     * @param customerAppointments 客户预约信息
     * @return 结果
     */
    public int insertCustomerAppointments(CustomerAppointments customerAppointments);

    /**
     * 修改客户预约信息
     * 
     * @param customerAppointments 客户预约信息
     * @return 结果
     */
    public int updateCustomerAppointments(CustomerAppointments customerAppointments);

    /**
     * 删除客户预约信息
     * 
     * @param customerId 客户预约信息主键
     * @return 结果
     */
    public int deleteCustomerAppointmentsByCustomerId(String customerId);

    /**
     * 批量删除客户预约信息
     * 
     * @param customerIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteCustomerAppointmentsByCustomerIds(String[] customerIds);
}
